]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
loginDialog: Implement cancel()
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 26 Nov 2013 19:52:24 +0000 (20:52 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 27 Nov 2013 13:30:24 +0000 (14:30 +0100)
The screen shield expects a cancel() method on the unlockDialog
implementation, but LoginDialog does not provide it currently.

https://bugzilla.gnome.org/show_bug.cgi?id=719378

js/gdm/loginDialog.js

index 67b35ade34396281911e5d4280d7308880c4622a..4389fe7ecdfd964baf20812fede31ce96334148b 100644 (file)
@@ -885,6 +885,10 @@ const LoginDialog = new Lang.Class({
         Main.ctrlAltTabManager.removeGroup(this.dialogLayout);
     },
 
+    cancel: function() {
+        this._authPrompt.cancel();
+    },
+
     addCharacter: function(unichar) {
         this._authPrompt.addCharacter(unichar);
     },